package cn.ckx.coding.moudle.user.service;

import cn.ckx.coding.moudle.user.dto.UserDTO;
import cn.ckx.coding.moudle.user.entity.UserEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @ClassName UserService
 * @Description
 * @Author kunxin.cai
 * @Date 2021/2/26
 * @Version 1.0
 **/
public interface UserService extends IService<UserEntity> {
    
    UserDTO loginByAccNum(String accNumber, String password);

    UserDTO register(UserDTO user);

    UserDTO update(UserDTO user);
    
    void delete(String id);
    
    List<UserDTO> listUser();

    UserDTO getById(String id);

}
